<?php
	
	if($_POST['code']==6666){
		$result = array('sta'=>'1','token'=>'123456');
	}else{
		$result = array('sta'=>'0');
	}
	
	echo json_encode($result);

?>